package com.ruoyi.tbxt.mapper;

import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.tbxt.domain.BizSystem;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 */
public interface BizSystemMapper
{

    public List<BizSystem> selectBizSysList(BizSystem biz);

    public BizSystem selectBizById(Long id);

    public BizSystem selectBizByName(String name);

    public BizSystem selectBizByCode(String code);

    public int deleteBizById(Long id);

    public int deleteBizByIds(Long[] ids);

    public int updateBiz(BizSystem biz);

    public int insertBiz(BizSystem biz);

    public BizSystem checkBizCodeUnique(String code);

    public BizSystem checkBizCodeExistUnique(@Param("bizCode") String code, @Param("bizId") Long bizId);

}
